package edu.wit.system.service.impl;

import edu.wit.common.db.service.impl.BaseServiceImpl;
import edu.wit.system.domain.AffairsWorkflowNodeUser;
import edu.wit.system.mapper.AffairsWorkflowNodeUserMapper;
import edu.wit.system.service.AffairsWorkflowNodeUserService;
import org.springframework.stereotype.Service;

import java.util.List;


@Service("affairsWorkflowNodeUserService")
public class AffairsWorkflowNodeUserServiceImpl extends BaseServiceImpl<AffairsWorkflowNodeUserMapper, AffairsWorkflowNodeUser> implements AffairsWorkflowNodeUserService {

	@Override
	public void deleteByWorkflowId(Long workflowId) {
		baseMapper.deleteByWorkflowId(workflowId);
	}
	
	@Override
	public List<AffairsWorkflowNodeUser> getListByWorkflowId(Long workflowId) {
		return baseMapper.getListByWorkflowId(workflowId);
	}
	
}